package com.wondertek.mam.tag.web.rest.vm;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * Created by wangdongxu on 2017-09-22 上午 11:11:02.
 */
public class ReqPostTag {
    @NotNull
    private Integer id;
    @DecimalMin("1")
    @DecimalMax("5")
    private Integer score;
    private LocalDate protectedTime;
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public LocalDate getProtectedTime() {
        return protectedTime;
    }

    public void setProtectedTime(LocalDate protectedTime) {
        this.protectedTime = protectedTime;
    }


}
